package com.pc.service.impl;

import com.pc.enrty.Pay;
import com.pc.mapper.PayMapper;
import com.pc.service.PayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
@Service
public class PayServiceImpl implements PayService {
    @Autowired
    private PayMapper payMapper;

    @Override
    public ArrayList<Pay> findPay(Pay pay) {
        return payMapper.selectPay(pay);
    }

    @Override
    public int addPay(Pay pay) {
        return 0;
    }
}
